package core;

//done
public class ClusterAbstraction {

	private int _cluster_number;
	private Neighborhood _mean;
	//private Vector <Neighborhood> _points;
	
	public ClusterAbstraction(int number) 
	{
		_cluster_number = number;	
	} 
	
	public ClusterAbstraction(int number, Neighborhood meanPoint) 
	{
		this(number);
		setMean(meanPoint);
	}
	
	public void setMean(Neighborhood meanPoint) 
	{
		_mean = meanPoint;
	}
	
	public Neighborhood getMean() 
	{
		return _mean;
	} 
	
	public int getClusterNumber() 
	{
		return _cluster_number;
	}
	
	public void addPoint(Observation p)
	{
		p._cluster = _cluster_number;
	}
	
	/*
	public int size()
	{
		return _points.size();
	}
	
	public Vector <Neighborhood> getPoints()
	{
		return _points;
	}
	
	public void clearPoints()
	{
		_points.clear();
	}
	*/
} 

